home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 October: Mac OS SDK / Dev.CD Oct 96 SDK / Dev.CD Oct 96 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF & Cyberdog / CyberStarter / Sources / Frame.h < prev    next >
Encoding:
Text File  |  1996-08-16  |  998 b   |  37 lines  |  [TEXT/MPS ]

  1. //========================================================================================
  2. //
  3. //    File:                Frame.h
  4. //    Release Version:    $ ODF 1 $
  5. //
  6. //    Copyright:    (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
  7. //
  8. //========================================================================================
  9.  
  10. #ifndef FRAME_H
  11. #define FRAME_H
  12.  
  13. // ----- Framework Includes -----
  14. #include "FWFrame.h"
  15.  
  16. class FW_CPresentation;
  17. class CPart;
  18.  
  19. //========================================================================================
  20. // CLASS CFrame
  21. //========================================================================================
  22.  
  23. class CFrame : public FW_CFrame
  24. {
  25. public:
  26.     FW_DECLARE_AUTO(CFrame)
  27.                     CFrame (Environment* ev, ODFrame* odFrame, FW_CPresentation* presentation, CPart* part);
  28.                     ~CFrame();
  29.  
  30.     void             Draw (Environment* ev, ODFacet* odFacet, ODShape* invalidShape);
  31.     void             DrawUpdate (Environment *ev, FW_CGraphicContext & gc);
  32. private:
  33.     CPart*             fPart;
  34. };
  35.  
  36. #endif
  37.